PROGRAM = mwvim
OBJECTS = main.o editor_process.o
CXX = g++
CPPFLAGS = -g $(shell pkg-config gtkmm-2.4 --cflags) $(shell pkg-config glib-2.0 --cflags)
LDFLAGS = -g $(shell pkg-config gtkmm-2.4 --libs) $(shell pkg-config glib-2.0 --libs)

all: $(PROGRAM)

$(PROGRAM): $(OBJECTS)
	$(CXX) -o $@ $^ $(LDFLAGS) 

main.o: main.cc editor_process.h
editor_process.o: editor_process.cc editor_process.h

.PHONY : clean
clean :
	rm -f $(PROGRAM) *.o
